import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import '../../assets/css/index.less'
import 'element-ui/lib/theme-chalk/index.css';
import 'normalize.css'
import '../../assets/font/font01/iconfont.css'
import less from 'less'
import store from '../../store/store'
import axios from 'axios'
import router from './router'
Vue.config.productionTip = false
import VueLazyload from 'vue-lazyload'

import loadingImg from '../../assets/img/load.gif'
import errorImg from '../../assets/img/error.jpg'
Vue.use(VueLazyload, {
    preLoad: 1.3,
    error: errorImg,
    loading: loadingImg,
    attempt: 1
})
Vue.use(less)
Vue.use(ElementUI);
Vue.prototype.$axios = axios
new Vue({
    store,
    router,
    render: h => h(App),
}).$mount('#app')